﻿/*

========================================================================

	                        Light Prepass Renderer

		                        by Floris Groen

                         E-mail : fmfgroen@yahoo.com
                     Blog : www.florisgroen.blogspot.com
		      

========================================================================

*/

using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace LightPrePassRenderer.Engine
{
    public abstract class EffectParameterMapping
    {
        protected Effect Effect
        {
            get;
            private set;
        }

        protected GameServiceContainer Services
        {
            get;
            private set;
        }

        protected EffectParameterMapping(Effect effect, GameServiceContainer services)
        {
            Effect = effect;
            Services = services;
        }

        public abstract void SetParametersPerFrame();

        public abstract void SetParametersPerObject(RenderEntry entry);
    }
}
